//@author A0094701J

#include "InvalidInputException.h"

//Concatenates error message with invalid message template in the 
//constructor to provide more relevant user feedback.
InvalidInputException::InvalidInputException(string message) {
    feedback = MESSAGE_INVALID + message;
}

//Returns error message.
const char* InvalidInputException::what() const throw() {
	return feedback.c_str();
}
